package l1j.server.server.serverpackets;

import l1j.server.server.model.Instance.L1PcInstance;

public class S_ActiveSpells extends ServerBasePacket {

	private byte[] _byte = null;

	public S_ActiveSpells(final L1PcInstance pc) {
		this.buildPacket(pc);
	}

	private void buildPacket(final L1PcInstance pc) {
		this.writeC(S_OPCODE_ACTIVESPELLS);
		this.writeC(0x14);
		this.writeC(0x69);

		// writeC(0x50);
		// writeC(0x40);
		// writeC(0x30);
		// writeC(0x25);
		// writeC(0x55);
	}

	@Override
	public byte[] getContent() {
		if (this._byte == null) {
			this._byte = this._bao.toByteArray();
		}

		return this._byte;
	}
}
